import request from "./request";
interface Login {
  account: string;
  password: string;
}
export const LoginApi = (data: Login) => {
  return request.post("http://blogapi.shbwyz.com/login", data);
};

export const ListApi=()=>{
    return request.get('http://blogapi.shbwyz.com/article/list')
}
export const xqApi=(id)=>{
    return request.get(`http://blogapi.shbwyz.com/article/${id}`)
}
